package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * @ProjectName: jpa05
 * @Package: com.indusfo.spc.pojo
 * @ClassName: Basis
 * @Author: 熊冰
 * @Description: 工艺文件库-basis
 * @Date: 2019/9/25 9:04
 * @Version: 1.0
 */
@Table(name = "T_B55_BASIS")
public class Basis extends BasePojo {
    // 上传时间
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
    @Id
    @Column(name = "L_BASIS_ID", insertable = false)
    private Integer lBasisId;

    // 产品
    private Integer lProduct;

    // 负责人
    private Integer lUserId;

    // 上传时间
    private Date dLastUploadTime=new Date();
    // 上传时间翻译
    private String vcDLastUploadTime=df.format(new Date());
    // 说明
    private String vcRemark;

    // 数据状态
    private Integer lDataState;

    //原材料编码
    private String vcMatCode;

    // 产品对应的名称
    private String lProductName;

    // 负责人对应的名称
    private String lUserIdName;

    // 数据状态对应的名称
    private String lDataStateName;

    //	产品型号
    private String vcModel;

    //	版本id
    private Integer lProVer;


    public String getVcDLastUploadTime() {
        return vcDLastUploadTime;
    }

    public void setVcDLastUploadTime(String vcDLastUploadTime) {
        this.vcDLastUploadTime = vcDLastUploadTime;
    }

    //	版本id
    private List<BasisList> basisLists;

    public List<BasisList> getBasisLists() {
        return basisLists;
    }

    public void setBasisLists(List<BasisList> basisLists) {
        this.basisLists = basisLists;
    }

    public Integer getlProVer() {
        return lProVer;
    }

    public void setlProVer(Integer lProVer) {
        this.lProVer = lProVer;
    }

    public Integer getlBasisId() {
        return lBasisId;
    }

    public void setlBasisId(Integer lBasisId) {
        this.lBasisId = lBasisId;
    }

    public Integer getlProduct() {
        return lProduct;
    }

    public void setlProduct(Integer lProduct) {
        this.lProduct = lProduct;
    }

    public Integer getlUserId() {
        return lUserId;
    }

    public void setlUserId(Integer lUserId) {
        this.lUserId = lUserId;
    }

    public Date getdLastUploadTime() {
        return dLastUploadTime;
    }

    public void setdLastUploadTime(Date dLastUploadTime) {
        this.dLastUploadTime = dLastUploadTime;
    }

    public String getVcRemark() {
        return vcRemark;
    }

    public void setVcRemark(String vcRemark) {
        this.vcRemark = vcRemark;
    }

    public Integer getlDataState() {
        return lDataState;
    }

    public void setlDataState(Integer lDataState) {
        this.lDataState = lDataState;
    }

    public String getVcMatCode() {
        return vcMatCode;
    }

    public void setVcMatCode(String vcMatCode) {
        this.vcMatCode = vcMatCode;
    }

    public String getlProductName() {
        return lProductName;
    }

    public void setlProductName(String lProductName) {
        this.lProductName = lProductName;
    }

    public String getlUserIdName() {
        return lUserIdName;
    }

    public void setlUserIdName(String lUserIdName) {
        this.lUserIdName = lUserIdName;
    }

    public String getlDataStateName() {
        return lDataStateName;
    }

    public void setlDataStateName(String lDataStateName) {
        this.lDataStateName = lDataStateName;
    }

    public String getVcModel() {
        return vcModel;
    }

    public void setVcModel(String vcModel) {
        this.vcModel = vcModel;
    }
}
